//    Copyright (C) Kherty.  All rights reserved.
using System.Windows;

namespace OpenLS.Chart.UI
{
   public  class GridLine3DElement
    {


        public static double GetX1(DependencyObject obj)
        {
            return (double)obj.GetValue(X1Property);
        }

        public static void SetX1(DependencyObject obj, double value)
        {
            obj.SetValue(X1Property, value);
        }

        // Using a DependencyProperty as the backing store for X1.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty X1Property =
            DependencyProperty.RegisterAttached("X1", typeof(double), typeof(GridLine3DElement), new UIPropertyMetadata(0.0d));

        public static double GetY1(DependencyObject obj)
        {
            return (double)obj.GetValue(Y1Property);
        }

        public static void SetY1(DependencyObject obj, double value)
        {
            obj.SetValue(Y1Property, value);
        }

        // Using a DependencyProperty as the backing store for Y1.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty Y1Property =
            DependencyProperty.RegisterAttached("Y1", typeof(double), typeof(GridLine3DElement), new UIPropertyMetadata(0.0d));

        public static double GetZ1(DependencyObject obj)
        {
            return (double)obj.GetValue(Z1Property);
        }

        public static void SetZ1(DependencyObject obj, double value)
        {
            obj.SetValue(Z1Property, value);
        }

        // Using a DependencyProperty as the backing store for Z1.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty Z1Property =
            DependencyProperty.RegisterAttached("Z1", typeof(double), typeof(GridLine3DElement), new UIPropertyMetadata(0.0d));

        public static double GetX2(DependencyObject obj)
        {
            return (double)obj.GetValue(X2Property);
        }

        public static void SetX2(DependencyObject obj, double value)
        {
            obj.SetValue(X2Property, value);
        }

        // Using a DependencyProperty as the backing store for X2.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty X2Property =
            DependencyProperty.RegisterAttached("X2", typeof(double), typeof(GridLine3DElement), new UIPropertyMetadata(0.0d));

        public static double GetY2(DependencyObject obj)
        {
            return (double)obj.GetValue(Y2Property);
        }

        public static void SetY2(DependencyObject obj, double value)
        {
            obj.SetValue(Y2Property, value);
        }

        // Using a DependencyProperty as the backing store for Y2.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty Y2Property =
            DependencyProperty.RegisterAttached("Y2", typeof(double), typeof(GridLine3DElement), new UIPropertyMetadata(0.0d));

        public static double GetZ2(DependencyObject obj)
        {
            return (double)obj.GetValue(Z2Property);
        }

        public static void SetZ2(DependencyObject obj, double value)
        {
            obj.SetValue(Z2Property, value);
        }

        // Using a DependencyProperty as the backing store for Z2.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty Z2Property =
            DependencyProperty.RegisterAttached("Z2", typeof(double), typeof(GridLine3DElement), new UIPropertyMetadata(0.0d));


    }
}
